KnitPay\Gateways\IntegrationOAuthClient B

Total Complexity 85
Dependencies 7
Dependents 0
Total lines 602
Lines of code 410
Logical lines of code 204
Comment lines 77
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
update_connection_status()
A
44 13 42
refresh_access_token()
A
46 7 41
init_oauth_connect()
S
47 6 39
schedule_next_refresh_access_token()
S
53 6 22
save_token()
S
54 6 20
get_settings_fields()
S
51 5 28
connection_status_box()
S
50 4 29
save_post()
S
58 4 16
mode_settings_field_callback()
S
57 3 24
get_config()
S
63 3 11
refresh_failed_action()
S
66 3 8
setup()
S
59 2 14
get_oauth_connect_button_fields()
S
52 1 27
get_gateway()
S
62 2 12
get_signup_button_field()
S
58 1 16
inc_refresh_token_fail_counter()
S
66 2 8
__construct()
S
71 2 5
get_child_config()
S
100 1 0
configure_webhook()
S
82 1 3
create_basic_connection()
S
83 1 3
clear_config()
S
71 1 5
get_basic_auth_fields()
S
82 1 3
is_auth_basic_enabled()
S
82 1 3
is_oauth_connected()
S
80 1 3
is_auth_basic_connected()
S
82 1 3
payment_provider_url()
S
82 1 3
allowed_redirect_hosts()
S
82 1 3
get_oauth_connection_status_fields()
S
65 1 9
show_common_setting_fields()
S
82 1 3
get_oauth_token_request_body()
S
82 1 3
clear_child_config()
S
100 1 0
redirect_to_config()
S
76 1 4